package com.lzw.breezeNovel.model.entity.pojo.video;

import com.lzw.breezeNovel.model.entity.query.BaseQuery;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author 清风明月
 * @Package com.lzw.breezeNovel.model.entity.pojo
 * @date 2025/3/15
 * @description 动漫集数实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@SuppressWarnings("all")
public class AnimeEpisode extends BaseQuery {

    @Schema(description = "集数ID，主键，自增")
    private Integer episodeId;

    @Schema(description = "关联的动漫ID，外键关联动漫表")
    private Integer animeId;

    @Schema(description = "季数")
    private Integer seasonNumber;

    @Schema(description = "集数")
    private Integer episodeNumber;

    @Schema(description = "集数名称或标题")
    private String showName;

    @Schema(description = "集数文件URL")
    private String videoUrl;

    @Schema(description = "集数时长，单位为秒")
    private Integer duration;

    @Schema(description = "上传时间，默认为当前时间")
    private Date uploadTime;

    @Schema(description = "集数封面图片URL")
    private String coverImage;

    @Schema(description = "播放次数，默认为0")
    private Integer playCount;
}